import requests
from bs4 import BeautifulSoup

response = requests.get("https://www.hbjcxy.com/")
response.encoding = "utf-8"
# 解析
soup = BeautifulSoup(response.text,features="html.parser")
imgs = soup.select(".news_imgs>a>img")
print(imgs)
print(imgs[5])
print(imgs[5].attrs["src"])
print("https://www.hbjcxy.com/"+imgs[5].attrs["src"])